<?php 
class Cellphonezone_Digg_Model_Digg_Product extends Mage_Core_Model_Abstract{

   protected function _construct(){
    
       $this->_init('digg/digg_product');
   
   }
   public function loadByProductAndIP($productId,$remoteAddr){

       $this->setData($this->getResource()->loadByProductAndIP($productId,$remoteAddr));
       return $this;
   
   }
}
